<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<title>添加房间</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script src="/home/js/rem.js"></script>
		<link rel="stylesheet" type="text/css" href="/home/css/device-room2.css"/>
	</head>
	<body>
		<div class="device-room-two">
		<div class="added-top">
			<a href="/home/homepage/index"><img class="back4" src="/home/images/icon/return.png"/></a></span><span>添加房间</span>
		</div>
		<div class="added-content">
			<p class="create-title">请选择一个你要创建的房间</p>
			<div class="room-wrap">
				<ul class="room">
					@foreach($data as $v)
						<li><a style="text-decoration:none;" href="/home/place/add?id={{$v['id']}}" onClick="return confirm('确定添加');"><img src="/home/images/{{$v['name']}}"/><span>{{$v['alias']}}</span></a></li>
					@endforeach
			    </ul>
			</div>
			</div>
		</div>
	</body>
	<script src="/home/js/jquery.js"></script>
	<script type="text/javascript">
		{{--$(document).ready(function(){--}}
		 {{--$("li").each(function(index){--}}
                {{--$(this).click(function(){--}}
                 {{--location.href="/home/place/add?id={{$v['id']}}";--}}
                {{--})--}}
		{{--})--}}
		{{--})--}}
	</script>
</html>
